package cn.com.agameofthrones.AGoTLCGCards.Fragment;

import android.os.Bundle;
import android.support.v4.app.FragmentActivity;

public class SearchResultActivity extends FragmentActivity {

	
    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
  

        if (savedInstanceState == null) {
            String where_clause=getIntent().getStringExtra(
            		"cn.com.agameofthrones.AGoTLCGCards.search_sql");
            SearchResultFragment search_result = SearchResultFragment.newInstance(where_clause);
            getSupportFragmentManager().beginTransaction().add(android.R.id.content, search_result).commit();
        }
    }

}
